package com.xiaomi.entity;

import com.alibaba.fastjson.annotation.JSONField;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName Dingdankuaizhao
 * @Description TODO
 * @Author 獄
 * @Date 2021/11/27 17:32
 */
public class Dingdankuaizhao {
    private int id;
    private String dingdanbianhao;
    private int dingdancpfulei;
    private String dizhi;
    private String dianhua;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date shijian;
    private String zhifufangshi;
    private double qian;

    public Dingdankuaizhao() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDingdanbianhao() {
        return dingdanbianhao;
    }

    public void setDingdanbianhao(String dingdanbianhao) {
        this.dingdanbianhao = dingdanbianhao;
    }

    public int getDingdancpfulei() {
        return dingdancpfulei;
    }

    public void setDingdancpfulei(int dingdancpfulei) {
        this.dingdancpfulei = dingdancpfulei;
    }

    public String getDizhi() {
        return dizhi;
    }

    public void setDizhi(String dizhi) {
        this.dizhi = dizhi;
    }

    public String getDianhua() {
        return dianhua;
    }

    public void setDianhua(String dianhua) {
        this.dianhua = dianhua;
    }

    public Date getShijian() {
        return shijian;
    }

    public void setShijian(Date shijian) {
        this.shijian = shijian;
    }

    public String getZhifufangshi() {
        return zhifufangshi;
    }

    public void setZhifufangshi(String zhifufangshi) {
        this.zhifufangshi = zhifufangshi;
    }

    public double getQian() {
        return qian;
    }

    public void setQian(double qian) {
        this.qian = qian;
    }

    @Override
    public String toString() {
        return "Dingdankuaizhao{" +
                "id=" + id +
                ", dingdanbianhao='" + dingdanbianhao + '\'' +
                ", dingdancpfulei=" + dingdancpfulei +
                ", dizhi='" + dizhi + '\'' +
                ", dianhua='" + dianhua + '\'' +
                ", shijian=" + shijian +
                ", zhifufangshi='" + zhifufangshi + '\'' +
                ", qian=" + qian +
                '}';
    }
}
